<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title> 注册页面 </title>
    <link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath }/lib/bootstrap-3.3.7/dist/css/bootstrap.min.css" />
	<link rel="stylesheet"
	href="${pageContext.request.contextPath }/lib/font-awesome-4.7.0/css/font-awesome.css">
    
    <!-- <link href="webstyle.css" rel="stylesheet"> -->
    <style>
        form {
            width: 27%;
            margin: 10% auto;
        }
        .btn-containal {
            text-align: right;
            margin: 30px 0;
        }
    </style>
    
  </head>
  
<body>

	<form action="${pageContext.request.contextPath }/servlet/RegisterAction" method="post">
		<div class="form-group">
          <label for="user">User</label>
          <input type="text" class="form-control" id="user" name="username" placeholder="User">
        </div>
        <div class="form-group">
          <label for="password">Password</label>
          <input type="password" class="form-control" id="password" name="password" placeholder="Password">
        </div>
        <div class="form-group">
                <label for="nick-name">NickName</label>
                <input type="text" class="form-control" id="nick-name" name="nicename" placeholder="NickName">
              </div>
        <div class="form-group btn-containal">
            <button type="submit" class="btn btn-default">注册</button>
        </div>
        
		<!-- <div class="loginpage">
			<div class="UserName" >用户名：<input type="text" name="username" id="username"></div>
    		<div class="password" >密&nbsp;码：<input type="password" name="password" id="password"></div>
    		<div class="niceName" >昵&nbsp;称：<input type="text" name="nicename" id="nicename"></div>
		    <input type="submit" value="注册" class="regist"/>
	    </div> -->
    
    </form> 
    
</body>
<script src="${pageContext.request.contextPath }/lib/jquery/jquery.js" type="text/javascript"
	charset="utf-8"></script>
<script src="${pageContext.request.contextPath }/lib/bootstrap-3.3.7/dist/js/bootstrap.min.js"
	type="text/javascript" charset="utf-8"></script>
</html>